package com.net.oil.oilWear.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：lch
 * 时间：2019/1/19 0019:下午 21:57
 * 邮箱：245850413@qq.com
 * 说明：
 */
public class FillOilRecordBean {

    /**
     * paging : {"total":3,"current":0,"pageSize":20}
     * list : [{"id":2,"myCarId":11,"myCarInfo":null,"t":1546846249216,"currentMileage":1500,"quantity":45,"uid":"9268dcf43a56452b8853e2f88193686e","oilPrice":8,"oilMoney":360},{"id":1,"myCarId":11,"myCarInfo":null,"t":1545898921000,"currentMileage":1000,"quantity":45,"uid":"9268dcf43a56452b8853e2f88193686e","oilPrice":8.88,"oilMoney":400},{"id":3,"myCarId":11,"myCarInfo":null,"t":1544430121000,"currentMileage":800,"quantity":44,"uid":"9268dcf43a56452b8853e2f88193686e","oilPrice":8.44,"oilMoney":380}]
     */

    private PagingBean paging;
    private List<ListBean> list;

    public PagingBean getPaging() {
        return paging;
    }

    public void setPaging(PagingBean paging) {
        this.paging = paging;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class PagingBean {
        /**
         * total : 3
         * current : 0
         * pageSize : 20
         */

        private int total;
        private int current;
        private int pageSize;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }
    }

    public static class ListBean implements Serializable {
        /**
         * id : 2
         * myCarId : 11
         * myCarInfo : null
         * t : 1546846249216
         * currentMileage : 1500
         * quantity : 45
         * uid : 9268dcf43a56452b8853e2f88193686e
         * oilPrice : 8
         * oilMoney : 360
         */

        private int id;
        private int myCarId;
        private Object myCarInfo;
        private long t;
        private int currentMileage;
        private double quantity;
        private String uid;
        private double oilPrice;
        private double oilMoney;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMyCarId() {
            return myCarId;
        }

        public void setMyCarId(int myCarId) {
            this.myCarId = myCarId;
        }

        public Object getMyCarInfo() {
            return myCarInfo;
        }

        public void setMyCarInfo(Object myCarInfo) {
            this.myCarInfo = myCarInfo;
        }

        public long getT() {
            return t;
        }

        public void setT(long t) {
            this.t = t;
        }

        public int getCurrentMileage() {
            return currentMileage;
        }

        public void setCurrentMileage(int currentMileage) {
            this.currentMileage = currentMileage;
        }

        public double getQuantity() {
            return quantity;
        }

        public void setQuantity(double quantity) {
            this.quantity = quantity;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public double getOilPrice() {
            return oilPrice;
        }

        public void setOilPrice(double oilPrice) {
            this.oilPrice = oilPrice;
        }

        public double getOilMoney() {
            return oilMoney;
        }

        public void setOilMoney(double oilMoney) {
            this.oilMoney = oilMoney;
        }
    }
}
